<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<base href="<%=basePath%>admin/produce/growth/check/">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link type="text/css" href="css/ui.all.css" rel="stylesheet" />
		<script type="text/javascript" src="js/jquery.js"></script>
		<script type="text/javascript" src="js/ui.core.js"></script>
		<script type="text/javascript" src="js/ui.datepicker.js"></script>
		<script type="text/javascript" src="js/ui.datepicker-zh_CN.js"></script>
		<script type="text/javascript" src="js/addAirCheck.js"></script>
		<title>无标题文档</title>
		<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

.STYLE1 {
	font-size: 12px
}

.STYLE4 {
	font-size: 12px;
	color: #1F4A65;
	font-weight: bold;
}

a:link {
	font-size: 12px;
	color: #06482a;
	text-decoration: none;
}

a:visited {
	font-size: 12px;
	color: #06482a;
	text-decoration: none;
}

a:hover {
	font-size: 12px;
	color: #FF0000;
	text-decoration: underline;
}

a:active {
	font-size: 12px;
	color: #FF0000;
	text-decoration: none;
}

.STYLE7 {
	font-size: 12px;
}

/**以下两个CSS 是表单的样式 顺序不能换**/
.form-font {
	margin:8px 10px ;
	font-size: 13px;
	border-collapse: collapse;
}

.form-font tr td {
    padding-top:3px;
    padding-bottom:3px;
	font-size: 13px;
	/*border: 1px solid green;*/
}
.form-font tr td:FIRST-CHILD{
	text-align: right;
	}
.form-font tr td:FIRST-CHILD + td + td{
	text-align: right;
	}	
.form-font tr td:FIRST-CHILD{
   width: 100px;
}
.form-font tr td:FIRST-CHILD+td,.form-font tr td:FIRST-CHILD+td+td{
   width: 150px;
}
.form-font textarea{
   resize:none;
}
-->
</style>

		<script>
var  highlightcolor='#eafcd5';
//此处clickcolor只能用win系统颜色代码才能成功,如果用#xxxxxx的代码就不行,还没搞清楚为什么:(
var  clickcolor='#51b2f6';
function  changeto(){
source=event.srcElement;
if  (source.tagName=="TR"||source.tagName=="TABLE")
return;
while(source.tagName!="TD")
source=source.parentElement;
source=source.parentElement;
cs  =  source.children;
//alert(cs.length);
if  (cs[1].style.backgroundColor!=highlightcolor&&source.id!="nc"&&cs[1].style.backgroundColor!=clickcolor)
for(i=0;i<cs.length;i++){
	cs[i].style.backgroundColor=highlightcolor;
}
}

function  changeback(){
if  (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="nc")
return
if  (event.toElement!=source&&cs[1].style.backgroundColor!=clickcolor)
//source.style.backgroundColor=originalcolor
for(i=0;i<cs.length;i++){
	cs[i].style.backgroundColor="";
}
}

function  clickto(){
source=event.srcElement;
if  (source.tagName=="TR"||source.tagName=="TABLE")
return;
while(source.tagName!="TD")
source=source.parentElement;
source=source.parentElement;
cs  =  source.children;
//alert(cs.length);
if  (cs[1].style.backgroundColor!=clickcolor&&source.id!="nc")
for(i=0;i<cs.length;i++){
	cs[i].style.backgroundColor=clickcolor;
}
else
for(i=0;i<cs.length;i++){
	cs[i].style.backgroundColor="";
}
}
</script>
	</head>

	<body>
		<table width="100%" border="0" align="center" cellpadding="0"
			cellspacing="0">
			<tr>
				<td height="30">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="15" height="30">
								<img src="../../../tab/images/tab_03.gif" width="15" height="30" />
							</td>
							<td width="1101" background="../../../tab/images/tab_05.gif">
								<img src="../../../tab/images/311.gif" width="16" height="16" />
								<span class="STYLE4">录入茶林检测信息</span>
							</td>
							<td width="281" background="../../../tab/images/tab_05.gif">
								&nbsp;
							</td>
							<td width="14">
								<img src="../../../tab/images/tab_07.gif" width="14" height="30" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="9" background="../../../tab/images/tab_12.gif">
								&nbsp;
							</td>
							<td bgcolor="#f3ffe3">
							<form action="teaTreesCheck" method="post">
							<!-- 表格开始-->
								<table  width="80%" class="form-font">
									<tr >
										
										<td>
											茶林编号：
										</td>
										<td colspan="5">
												${param.teaTreesId}
											<input name="teaTreesId" value="${param.teaTreesId}" type="hidden"/>
										</td>

									</tr>
									<tr >
										<td>
											检测时间：
										</td>
										<td>
											<input type="text" id="dateDemo" name="teaTreesCheck.checkTime"/>
										</td>
									</tr>
									<tr >
										<td>
											检测人员：
										</td>
										<td>
											<input type="text" name="emps" />
										</td>

										<td>
											检测设备：
										</td>
										<td>
											<input type="text" name="devices" />
										</td>
									</tr>
									<tr >
										<td>
										树龄：	
										</td>
										<td>
											<input type="text" name="teaTreesCheckDetail.age" />
										</td>

										<td>
											树高：
										</td>
										<td>
											<input type="text" name="teaTreesCheckDetail.height" />
										</td>
									</tr>
									<tr >
										<td>
											树幅：
										</td>
										<td>
											<input type="text" name="teaTreesCheckDetail.teatreeRange" />
										</td>

										<td>
											树距：
										</td>
										<td>
											<input type="text" name="teaTreesCheckDetail.space" />
										</td>
									</tr>
									<tr >
										<td>
											树芽长度：
										</td>
										<td>
											<input type="text" name="teaTreesCheckDetail.toplength" />
										</td>
										<td>
											是否可采摘：
										</td>
										<td>
											<select name="pickable" style="width:100px;">
												<option value="false">不可采摘</option>
												<option value="true">可采摘</option>
											</select>
										</td>
									</tr>

									<tr>
										<td>
											备注：
										</td>
										<td colspan="5">
											<br />
											<textarea name="teaTreesCheck.description" rows="6" cols="100" ></textarea>
										</td>
									</tr>
								</table>
							<!-- 表格结束 -->	
								
								<div style="margin-top: 20px; margin-left: 400px;">
									<input type="submit" value=" 确定录入 " />
									<input type="button" value=" 清空已填 " />
								</div>
							</form>
							</td>
							<td width="9" background="../../../tab/images/tab_16.gif">
								&nbsp;
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td height="29">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="15" height="29">
								<img src="../../../tab/images/tab_20.gif" width="15" height="29" />
							</td>
							<td background="../../../tab/images/tab_21.gif">
								&nbsp;
							</td>
							<td width="14">
								<img src="../../../tab/images/tab_22.gif" width="14" height="29" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>